package cn.huaqingcheng.tianshu.core.start.service;

import cn.huaqingcheng.tianshu.core.start.model.SiteGroup;
import cn.huaqingcheng.tianshu.core.start.param.SortParam;

import java.util.List;

/**
 * SiteGroupService
 */
public interface SiteGroupService {

    List<SiteGroup> getAll(Long accountId);

    Long createGroup(SiteGroup data, Long accountId);

    void updateGroup(SiteGroup data, Long accountId);

    void updateSort(List<SortParam> params, Long accountId);

    void remove(Long id, Long accountId);

}
